package com.zhou.system.management.enums;

import lombok.Getter;

/**
 * @author xianfeng
 * @date 2023/5/29 21:40
 */

@Getter
public enum SysRoleRelationContentType {

    /**
     *   `content_type` varchar(255) DEFAULT NULL COMMENT '内容类型 1菜单，2部门(数据权限)',
     */
    MENU(1, "菜单(菜单权限)"),
    DEPT(2, "部门(数据权限)"),
    ;

    private Integer code;

    private String msg;

    SysRoleRelationContentType(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
